﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartApplication.Domain.Entity
{
    /// <summary>
    /// 保健信息
    /// </summary>
    [Table("health")]
    public class HealthModel:BaseEntity
    {
       
        public long SourceId { get; set; }
        /// <summary>
        /// 饲养天数
        /// </summary>
        public int FeedDays { get; set; }
        /// <summary>
        /// 保健方式
        /// </summary>
        [StringLength(100)]
        [Required]
        public string HealthType { get; set; }

        /// <summary>
        /// 保健方法
        /// </summary>
        [StringLength(200)]
        [Required]
        public string HealthWay { get; set; }
    }
}
